package org.chromium.tool.net.api;

import org.chromium.tool.bean.BaseBean;
import org.chromium.tool.bean.NavBean;
import org.chromium.tool.net.NetworkCommon;

import java.util.ArrayList;

import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Headers;

import static org.chromium.tool.net.NetworkCommon.TEST_BASE_URL;

public interface HomeService {
    //比赛模块首页 获取比赛数据
    @Headers({TEST_BASE_URL+NetworkCommon.NAV_TITTLE})
    @GET(NetworkCommon.NAV_TITTLE)
    Observable<BaseBean<ArrayList<NavBean>>> getNavData();
}
